package com.csx.base.design.structure.proxy.staticM;

import com.csx.base.design.structure.proxy.Internet;

/**
 * @author cuisongxu
 * @date 2022/9/22 12:12
 */
public class Client {

    public static void main(String[] args) throws Exception {


        Internet proxy = new RouterProxy();
        proxy.httpAccess("http://www.电影.com");
        proxy.httpAccess("http://www.游戏.com");
        proxy.httpAccess("http://www.学习.com");
        proxy.httpAccess("http://www.工作.com");
        proxy.httpAccess("http://www.音乐.com");
    }
}
